package com.metagurukul.metagranth.exception;

import java.sql.SQLException;

/*
 * this is a exception class denoting sql exception
 */
public class MetaSqlException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	SQLException exception;
	public MetaSqlException(SQLException ex){
		super(ex);
		exception=new SQLException(ex);
	}
	public String getMessage() {

		return exception.toString();
	}

}
